factory mechanisms